

'use strict';
const express=require('express');
const path=require('path');
const teaRouter=express.Router();
const teaCtrl=require(path.join(__dirname,"../controllers/teaController.js"));


teaRouter.get('/tea_list',teaCtrl.teaList);


teaRouter.get('/tea_edit/:teach_id',teaCtrl.teaEdit);

// 数据提交页面

teaRouter.post('/tea_edit/:teach_id',teaCtrl.teaEditDate);


module.exports=teaRouter;

